package com.xc.content.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xc.content.entity.CourseCategory;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;

/**
 * 课程分类(CourseCategory)表数据库访问层
 *
 * @author makejava
 * @since 2025-01-03 15:52:53
 */
@Mapper
public interface CourseCategoryMapper extends BaseMapper<CourseCategory> {

    List<CourseCategory> queryList();

    CourseCategory queryByName(@Param("name") String name);

    Integer addCourseCategory(@Param("courseCategory") CourseCategory courseCategory);

}

